<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </a>
      <a class="brand" href="<?php echo base_url(); ?>"><?php print $this->config->item('school_name') ?></a>
      <?php echo menu_dropdown($menu); ?>
      <div class="nav-collapse pull-right">
        <span class="navbar-text">
          Welcome <?php echo anchor('people/staff/' . $user->uid, $user->first_name); ?>&nbsp;&nbsp;
        </span>
        <?php echo anchor('logout', 'Logout', array('class' => 'btn btn-mini btn-info', 'style' => 'margin-top: 0;')); ?>
      </div>
    </div>
  </div>
</div>
